#include <iostream>
#include <algorithm>

class Solution
{
public:
    int main()
    {
        int a[3];
        std::cin >> a[0] >> a[1] >> a[2];
        std::sort(a, a + 3);
        std::cout << a[0] << " " << a[1] << " " << a[2];
        return 0;
    }
};

#ifndef __LOCAL_TEST__
int main()
{
    return Solution().main();
}
#endif